<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/login">登录</RouterLink>
        <RouterLink to="/Add">添加</RouterLink>
        <RouterLink to="/Show">显示</RouterLink>
        <RouterLink to="/update">修改</RouterLink>
      </nav>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}



</style>
